package com.niiwoo.civet.user.service.duboo;

import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSONObject;
import com.niiwoo.civet.user.service.UserAuthDubboService;
import com.niiwoo.tripod.tiancheng.component.TianchengCallbackResolveService;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.IOException;

@Service(version = "1.0.0")
public class UserAuthDubboServiceImpl implements UserAuthDubboService {

    @Autowired
    private TianchengCallbackResolveService tianchengCallbackResolveService;

    @Override
    public JSONObject resolveEncryptCallbackData(String params) throws IOException {
        return tianchengCallbackResolveService.resolveEncryptCallbackData(params);
    }
}
